18 lines
331 B
PHP
18 lines
331 B
PHP
|
<?php
|
||
|
namespace ApplicationInstaller\Action;
|
||
|
|
||
|
abstract class Base
|
||
|
{
|
||
|
abstract public function commit();
|
||
|
|
||
|
protected function renameIndex()
|
||
|
{
|
||
|
rename(\Rails::publicPath() . '/index', \Rails::publicPath() . '/index.php');
|
||
|
}
|
||
|
|
||
|
protected function root()
|
||
|
{
|
||
|
return __DIR__ . '/../..';
|
||
|
}
|
||
|
}
|